package com.ruoyi.gd.todo.domain.vo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;



/**
 * 待办内容视图对象 z_todo
 *
 * @author ruoyi
 * @date 2024-11-19
 */
@Data
@ExcelIgnoreUnannotated
public class zTodoVo {

    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @ExcelProperty(value = "id")
    private String id;

    /**
     * 任务内容
     */
    @ExcelProperty(value = "任务内容")
    private String title;

    /**
     * 签收时间
     */
    @ExcelProperty(value = "签收时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date qssj;

    /**
     * 签收人id
     */
    private String qsrid;

    /**
     * 签收人
     */
    @ExcelProperty(value = "签收人")
    private String qsr;

    /**
     * 完成时间
     */
    @ExcelProperty(value = "完成时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date wcsj;

    /**
     * 任务优先级
     */
    @ExcelProperty(value = "任务优先级")
    private Integer priority;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态")
    private String status;

    /**
     * 附件id
     */
    @ExcelProperty(value = "附件id")
    private String fjid;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String bz;

    /**
     * 创建人id
     */
    @ExcelProperty(value = "创建人id")
    private String createId;

    private String createBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String updateBy;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


}
